package com.wtb.javatool.service.impl;

import com.wtb.javatool.dao.UserMapper;
import com.wtb.javatool.entity.User;
import com.wtb.javatool.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public ArrayList<User> SelectAllUser() {
        ArrayList<User> users=userMapper.SelectAllUser();
        return users;
    }
}
